package hcn.cmc.bean.response;


import hcn.protocol.base.hisPlateform.MsgHeaderRequest;

import javax.xml.bind.annotation.*;
import java.util.Date;
import java.util.List;

@XmlRootElement(name = "BSXml")
@XmlAccessorType(XmlAccessType.FIELD)
public class QueryTreatmentXmlResp {

    private MsgHeaderRequest MsgHeader;
    private QueryTreatmentXmlResp.MsgBody MsgBody;


    public MsgHeaderRequest getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeaderRequest msgHeader) {
        MsgHeader = msgHeader;
    }

    @XmlElement(name = "MsgBody")
    public QueryTreatmentXmlResp.MsgBody getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(QueryTreatmentXmlResp.MsgBody msgBody) {
        MsgBody = msgBody;
    }

    public static class MsgBody{
        private String Status;
        private String Code;
        private String Detail;
        private QueryTreatmentXmlResp.MsgBody.Data Data;

        public MsgBody() { }

        public String getStatus() {
            return this.Status;
        }

        public void setStatus(String status) {
            this.Status = status;
        }

        public String getCode() {
            return this.Code;
        }

        public void setCode(String code) {
            this.Code = code;
        }

        public String getDetail() {
            return this.Detail;
        }

        public void setDetail(String detail) {
            this.Detail = detail;
        }

        @XmlElement(name = "Data")
        public QueryTreatmentXmlResp.MsgBody.Data getData() {
            return this.Data;
        }

        public void setData(QueryTreatmentXmlResp.MsgBody.Data data) {
            this.Data = data;
        }

        @XmlAccessorType(XmlAccessType.FIELD)
        public static class Data{

            private long Total;

            @XmlElementWrapper(name = "ExmRequests")
            @XmlElement(name = "ExmRequest")
            public List<ExmRequest> ExmRequests;

            public Data() {
            }

            public long getTotal() {
                return Total;
            }

            public void setTotal(long total) {
                Total = total;
            }

            public List<ExmRequest> getExmRequests() {
                return ExmRequests;
            }

            public void setExmRequests(List<ExmRequest> exmRequests) {
                ExmRequests = exmRequests;
            }

            @XmlAccessorType(XmlAccessType.FIELD)
            public static class ExmRequest{

                private String VisitOrganization;
                private String SourcePatientId;
                private String IdCard;
                private String Name;
                private String Sex;
                private String VisitId;
                private String PatientType;
                private String ClinicId;
                private String HospizationId;
                private String Age;
                private String RequestId;
                private String TreatmentItemCode;
                private String TreatmentItemName;
                private String TreatmentItemUnit;
                private Double TreatTimesNumber;
                private int TreatmentItemPrice;
                private int TreatmentCourse;
                private int TreatmentInterval;
                private String ExecuteDepartmentId;
                private String ExecuteDepartmentName;
                private Date RequestDateTime;
                private String RequestDoctor;
                private String RequestDoctorName;
                private String ExamPurpose;
                private String AnesthesiaAttentionProblem;
                private String TreatStatusCode;
                private String OnlineFeeNo;

                @XmlElementWrapper(name = "EvaluationProjectLists")
                @XmlElement(name = "EvaluationProjectList")
                private List<EvaluationProjectList> EvaluationProjectLists;

                @XmlElementWrapper(name = "TreatmentItemExplainLists")
                @XmlElement(name = "TreatmentItemExplainList")
                private List<TreatmentItemExplainList> TreatmentItemExplainLists;

                @XmlElementWrapper(name = "BillingItemLists")
                @XmlElement(name = "BillingItemList")
                private List<BillingItemList> BillingItemLists;

                @XmlElementWrapper(name = "AcupointLists")
                @XmlElement(name = "AcupointList")
                private List<AcupointList> AcupointLists;

                public ExmRequest() {
                }

                public String getVisitOrganization() {
                    return VisitOrganization;
                }

                public void setVisitOrganization(String visitOrganization) {
                    VisitOrganization = visitOrganization;
                }

                public String getSourcePatientId() {
                    return SourcePatientId;
                }

                public void setSourcePatientId(String sourcePatientId) {
                    SourcePatientId = sourcePatientId;
                }

                public String getIdCard() {
                    return IdCard;
                }

                public void setIdCard(String idCard) {
                    IdCard = idCard;
                }

                public String getName() {
                    return Name;
                }

                public void setName(String name) {
                    Name = name;
                }

                public String getSex() {
                    return Sex;
                }

                public void setSex(String sex) {
                    Sex = sex;
                }

                public String getVisitId() {
                    return VisitId;
                }

                public void setVisitId(String visitId) {
                    VisitId = visitId;
                }

                public String getPatientType() {
                    return PatientType;
                }

                public void setPatientType(String patientType) {
                    PatientType = patientType;
                }

                public String getClinicId() {
                    return ClinicId;
                }

                public void setClinicId(String clinicId) {
                    ClinicId = clinicId;
                }

                public String getHospizationId() {
                    return HospizationId;
                }

                public void setHospizationId(String hospizationId) {
                    HospizationId = hospizationId;
                }

                public String getAge() {
                    return Age;
                }

                public void setAge(String age) {
                    Age = age;
                }

                public String getRequestId() {
                    return RequestId;
                }

                public void setRequestId(String requestId) {
                    RequestId = requestId;
                }

                public String getTreatmentItemCode() {
                    return TreatmentItemCode;
                }

                public void setTreatmentItemCode(String treatmentItemCode) {
                    TreatmentItemCode = treatmentItemCode;
                }

                public String getTreatmentItemName() {
                    return TreatmentItemName;
                }

                public void setTreatmentItemName(String treatmentItemName) {
                    TreatmentItemName = treatmentItemName;
                }

                public String getTreatmentItemUnit() {
                    return TreatmentItemUnit;
                }

                public void setTreatmentItemUnit(String treatmentItemUnit) {
                    TreatmentItemUnit = treatmentItemUnit;
                }

                public Double getTreatTimesNumber() {
                    return TreatTimesNumber;
                }

                public void setTreatTimesNumber(Double treatTimesNumber) {
                    TreatTimesNumber = treatTimesNumber;
                }

                public int getTreatmentItemPrice() {
                    return TreatmentItemPrice;
                }

                public void setTreatmentItemPrice(int treatmentItemPrice) {
                    TreatmentItemPrice = treatmentItemPrice;
                }

                public int getTreatmentCourse() {
                    return TreatmentCourse;
                }

                public void setTreatmentCourse(int treatmentCourse) {
                    TreatmentCourse = treatmentCourse;
                }

                public int getTreatmentInterval() {
                    return TreatmentInterval;
                }

                public void setTreatmentInterval(int treatmentInterval) {
                    TreatmentInterval = treatmentInterval;
                }

                public String getExecuteDepartmentId() {
                    return ExecuteDepartmentId;
                }

                public void setExecuteDepartmentId(String executeDepartmentId) {
                    ExecuteDepartmentId = executeDepartmentId;
                }

                public String getExecuteDepartmentName() {
                    return ExecuteDepartmentName;
                }

                public void setExecuteDepartmentName(String executeDepartmentName) {
                    ExecuteDepartmentName = executeDepartmentName;
                }

                public Date getRequestDateTime() {
                    return RequestDateTime;
                }

                public void setRequestDateTime(Date requestDateTime) {
                    RequestDateTime = requestDateTime;
                }

                public String getRequestDoctor() {
                    return RequestDoctor;
                }

                public void setRequestDoctor(String requestDoctor) {
                    RequestDoctor = requestDoctor;
                }

                public String getRequestDoctorName() {
                    return RequestDoctorName;
                }

                public void setRequestDoctorName(String requestDoctorName) {
                    RequestDoctorName = requestDoctorName;
                }

                public String getExamPurpose() {
                    return ExamPurpose;
                }

                public void setExamPurpose(String examPurpose) {
                    ExamPurpose = examPurpose;
                }

                public String getAnesthesiaAttentionProblem() {
                    return AnesthesiaAttentionProblem;
                }

                public void setAnesthesiaAttentionProblem(String anesthesiaAttentionProblem) {
                    AnesthesiaAttentionProblem = anesthesiaAttentionProblem;
                }

                public String getTreatStatusCode() {
                    return TreatStatusCode;
                }

                public void setTreatStatusCode(String treatStatusCode) {
                    TreatStatusCode = treatStatusCode;
                }

                public String getOnlineFeeNo() {
                    return OnlineFeeNo;
                }

                public void setOnlineFeeNo(String onlineFeeNo) {
                    OnlineFeeNo = onlineFeeNo;
                }

                public List<EvaluationProjectList> getEvaluationProjectLists() {
                    return EvaluationProjectLists;
                }

                public void setEvaluationProjectLists(List<EvaluationProjectList> evaluationProjectLists) {
                    EvaluationProjectLists = evaluationProjectLists;
                }

                public List<TreatmentItemExplainList> getTreatmentItemExplainLists() {
                    return TreatmentItemExplainLists;
                }

                public void setTreatmentItemExplainLists(List<TreatmentItemExplainList> treatmentItemExplainLists) {
                    TreatmentItemExplainLists = treatmentItemExplainLists;
                }

                public List<BillingItemList> getBillingItemLists() {
                    return BillingItemLists;
                }

                public void setBillingItemLists(List<BillingItemList> billingItemLists) {
                    BillingItemLists = billingItemLists;
                }

                public List<AcupointList> getAcupointLists() {
                    return AcupointLists;
                }

                public void setAcupointLists(List<AcupointList> acupointLists) {
                    AcupointLists = acupointLists;
                }

                @XmlAccessorType(XmlAccessType.FIELD)
                public static class EvaluationProjectList{
                    private String Templateld;
                    private String TemplateName;

                    public EvaluationProjectList() {
                    }

                    public String getTemplateld() {
                        return Templateld;
                    }

                    public void setTemplateld(String templateld) {
                        Templateld = templateld;
                    }

                    public String getTemplateName() {
                        return TemplateName;
                    }

                    public void setTemplateName(String templateName) {
                        TemplateName = templateName;
                    }
                }

                @XmlAccessorType(XmlAccessType.FIELD)
                public static class TreatmentItemExplainList{
                    private String TreatMode;
                    private String TreatMeasure;
                    private String TreatPart;
                    private String TreatMethod;
                    private String TreatTime;  //治疗时间  单位：分
                    private String TreatFreq;
                    private String TreatDosage;

                    public TreatmentItemExplainList() {
                    }

                    public String getTreatMode() {
                        return TreatMode;
                    }

                    public void setTreatMode(String treatMode) {
                        TreatMode = treatMode;
                    }

                    public String getTreatMeasure() {
                        return TreatMeasure;
                    }

                    public void setTreatMeasure(String treatMeasure) {
                        TreatMeasure = treatMeasure;
                    }

                    public String getTreatPart() {
                        return TreatPart;
                    }

                    public void setTreatPart(String treatPart) {
                        TreatPart = treatPart;
                    }

                    public String getTreatMethod() {
                        return TreatMethod;
                    }

                    public void setTreatMethod(String treatMethod) {
                        TreatMethod = treatMethod;
                    }

                    public String getTreatTime() {
                        return TreatTime;
                    }

                    public void setTreatTime(String treatTime) {
                        TreatTime = treatTime;
                    }

                    public String getTreatFreq() {
                        return TreatFreq;
                    }

                    public void setTreatFreq(String treatFreq) {
                        TreatFreq = treatFreq;
                    }

                    public String getTreatDosage() {
                        return TreatDosage;
                    }

                    public void setTreatDosage(String treatDosage) {
                        TreatDosage = treatDosage;
                    }
                }

                @XmlAccessorType(XmlAccessType.FIELD)
                public static class BillingItemList{
                    private String CostId;
                    private String CostName;
                    private String CostPrice;
                    private String CostNumber;
                    private String CostUnit;

                    public BillingItemList() {
                    }

                    public String getCostId() {
                        return CostId;
                    }

                    public void setCostId(String costId) {
                        CostId = costId;
                    }

                    public String getCostName() {
                        return CostName;
                    }

                    public void setCostName(String costName) {
                        CostName = costName;
                    }

                    public String getCostPrice() {
                        return CostPrice;
                    }

                    public void setCostPrice(String costPrice) {
                        CostPrice = costPrice;
                    }

                    public String getCostNumber() {
                        return CostNumber;
                    }

                    public void setCostNumber(String costNumber) {
                        CostNumber = costNumber;
                    }

                    public String getCostUnit() {
                        return CostUnit;
                    }

                    public void setCostUnit(String costUnit) {
                        CostUnit = costUnit;
                    }
                }

                @XmlAccessorType(XmlAccessType.FIELD)
                public static class AcupointList{
                    private String MeridianId;
                    private String MeridianName;
                    private String AcupointId;
                    private String AcupointName;
                    private String AcupointPartCode;
                    private String AcupointPartName;
                    private String AcupointMethodCode;
                    private String AcupointMethodName;
                    private int ContinueTime;  //留针时间	N		是	单位：分钟
                    private String  NeedlingDepth;
                    private String AcupointType;
                    private String Remark;

                    public AcupointList() {
                    }

                    public String getMeridianId() {
                        return MeridianId;
                    }

                    public void setMeridianId(String meridianId) {
                        MeridianId = meridianId;
                    }

                    public String getMeridianName() {
                        return MeridianName;
                    }

                    public void setMeridianName(String meridianName) {
                        MeridianName = meridianName;
                    }

                    public String getAcupointId() {
                        return AcupointId;
                    }

                    public void setAcupointId(String acupointId) {
                        AcupointId = acupointId;
                    }

                    public String getAcupointName() {
                        return AcupointName;
                    }

                    public void setAcupointName(String acupointName) {
                        AcupointName = acupointName;
                    }

                    public String getAcupointPartCode() {
                        return AcupointPartCode;
                    }

                    public void setAcupointPartCode(String acupointPartCode) {
                        AcupointPartCode = acupointPartCode;
                    }

                    public String getAcupointPartName() {
                        return AcupointPartName;
                    }

                    public void setAcupointPartName(String acupointPartName) {
                        AcupointPartName = acupointPartName;
                    }

                    public String getAcupointMethodCode() {
                        return AcupointMethodCode;
                    }

                    public void setAcupointMethodCode(String acupointMethodCode) {
                        AcupointMethodCode = acupointMethodCode;
                    }

                    public String getAcupointMethodName() {
                        return AcupointMethodName;
                    }

                    public void setAcupointMethodName(String acupointMethodName) {
                        AcupointMethodName = acupointMethodName;
                    }

                    public int getContinueTime() {
                        return ContinueTime;
                    }

                    public void setContinueTime(int continueTime) {
                        ContinueTime = continueTime;
                    }

                    public String getNeedlingDepth() {
                        return NeedlingDepth;
                    }

                    public void setNeedlingDepth(String needlingDepth) {
                        NeedlingDepth = needlingDepth;
                    }

                    public String getAcupointType() {
                        return AcupointType;
                    }

                    public void setAcupointType(String acupointType) {
                        AcupointType = acupointType;
                    }

                    public String getRemark() {
                        return Remark;
                    }

                    public void setRemark(String remark) {
                        Remark = remark;
                    }
                }
            }
        }
    }
}